

package com.zdkj.subway.rca.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zdkj.subway.rca.dto.SwCkElectronicReceiptConfirmDTO;
import com.zdkj.subway.rca.entity.CodeName;
import com.zdkj.subway.rca.entity.SwCkElectronicReceipt;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 电子账单
 *
 * @author cooze
 * @date 2020-10-24 21:52:04
 */
public interface SwCkElectronicReceiptMapper extends BaseMapper<SwCkElectronicReceipt> {
    /**
     * 查询线路名称和站点名称
     *
     * @param receipt 入参
     * @return 出参
     */
    SwCkElectronicReceipt getLineNameAndStationName(SwCkElectronicReceipt receipt);


    /**
     * 查出所有的车票类型
     *
     * @return
     */
    List<CodeName> getAllTicketType();

    int batchConfirmStatus(@Param("dto") SwCkElectronicReceiptConfirmDTO dto);
}
